<?php
namespace app\api\model;

class ProductPrice extends BaseModel
{

    public function discounts()
    {
        return $this->hasMany('ProductDiscount', 'price_id', 'id');
    }

}